package com.java.pertar.springiocdi;


import lombok.*;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

//@Data
//@Getter
//@Setter
//@ToString
//@EqualsAndHashCode
//@NoArgsConstructor
//@AllArgsConstructor
//@Builder
//@Component
//@NoArgsConstructor
//@AllArgsConstructor
//@Component
//@Service
//@Controller
//@Repository
//@Data
//@AllArgsConstructor
@AllArgsConstructor
@NoArgsConstructor
@Configuration
@Data
public class UserInfo {

    private String name;

    private Integer age;

//    public void rHello() {
//        System.out.println("getBean");
//    }

//    public String getName() {
//        return name;
//    }
//
//    public String getAge() {
//        return age.toString();
//    }
}
